Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LITE-28561 Implement sync PPR to marketplaces #117

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

Hairash
Copy link
Contributor

@Hairash Hairash commented Sep 26, 2023

No description provided.

@Hairash Hairash force-pushed the feature/LITE-28561-T2-Syns-PPR-to-Marketplaces branch from 1e3bade to ad99d14 Compare September 26, 2023 07:26
)
.one_or_none()
)
file_data = get_ppr_from_media(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a question here. Should we wrap it with the try..except block and raise a TaskException?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think that would be better

else:
ws[col] = 'FALSE'
# This value updates here, because it is not convenient to return it
marketplaces_to_not_update.update(cbc_marketplace_ids_dict.values())
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose, it is a bad pattern to return value this way, but didn't come up with how to do it better. Any ideas?

@Hairash Hairash force-pushed the feature/LITE-28561-T2-Syns-PPR-to-Marketplaces branch 2 times, most recently from ac81597 to 818c2e8 Compare September 27, 2023 11:58
@CLAassistant
Copy link

CLAassistant commented Sep 27, 2023

CLA assistant check
All committers have signed the CLA.

@Hairash Hairash force-pushed the feature/LITE-28561-T2-Syns-PPR-to-Marketplaces branch 2 times, most recently from f7f614f to 29c3eb9 Compare September 27, 2023 13:03
@Hairash Hairash force-pushed the feature/LITE-28561-T2-Syns-PPR-to-Marketplaces branch from 29c3eb9 to 9ab65b3 Compare September 27, 2023 13:55
)
.one_or_none()
)
file_data = get_ppr_from_media(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think that would be better

@akodelia akodelia merged commit 2484416 into master Sep 27, 2023
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants